package com.chuangke.message.dto;

import java.util.List;

public class SendMessageDto {

	public static final String TO_TYPE_ALL = "all";// 全部人员
	public static final String TO_TYPE_DEPT = "dept";// 指定组织机构下的人员
	public static final String TO_TYPE_USER = "user";// 指定用户

	private String fromUser;
	private String toType;// 接受的类型
	private List<String> toIds;// 对应类型的id,all的时候为空
	private String type;
	private String title;
	private String message;

	public String getFromUser() {
		return fromUser;
	}

	public void setFromUser(String fromUser) {
		this.fromUser = fromUser;
	}

	public String getToType() {
		return toType;
	}

	public void setToType(String toType) {
		this.toType = toType;
	}

	public List<String> getToIds() {
		return toIds;
	}

	public void setToIds(List<String> toIds) {
		this.toIds = toIds;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

}
